package com.wiscamp.ninechapters.threeparties.alipay.service;

import com.alipay.api.domain.AlipayTradePrecreateModel;
import com.wiscamp.ninechapters.threeparties.alipay.AlipayOrder;
import com.wiscamp.ninechapters.threeparties.alipay.entity.AlipayPreOrderParams;
import com.wiscamp.ninechapters.threeparties.alipay.entity.RefundRequestParams;
import com.wiscamp.ninechapters.threeparties.alipay.entity.qrcode.*;
import jakarta.servlet.http.HttpServletRequest;

public interface AlipayService {

    RefundResponse pcRefund(RefundRequestParams requestParams);

    QrCodeResponse qrcodePay(AlipayTradePrecreateModel model);

    QrServiceEntity alipayNotify(HttpServletRequest request);

    AlipayOrder alipayReturn(HttpServletRequest request);

    RefundQueryResponse refundQuery(RefundQueryParams refundQueryParams);

    String pcPreOrder(AlipayPreOrderParams preOrderParams);

}
